<? if(!defined('IN_TIPASK')) exit('Access Denied'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><? $user=$this->user; $setting=$this->setting; ?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tipask's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=TIPASK_CHARSET?>">
<link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet"/>
</head>
<body>

<div id="append">
</div>

<div class="container"><? if(isset($message)) { $type=isset($type)?$type:'correctmsg';  ?><div class="<?=$type?>"><p><?=$message?></p></div><? } ?><div class="mainbox nomargin">
<form action="index.php?admin_setting/seo<?=$setting['seo_suffix']?>" method="post">
<table class="opt">
<tr>
<th colspan="2">开启URL静态化:</th>
</tr>
<tr>
<td>
<input class="radio"  type="radio"  <? if(1==$setting['seo_on'] ) { ?>checked<? } ?>  value="1" name="seo_on"><label for="yes">是</label>
<input class="radio"  type="radio"  <? if(0==$setting['seo_on'] ) { ?>checked<? } ?> value="0" name="seo_on"><label for="no">否</label>
</td>
<td valign="top">对于Rewrite的设置站长需要先了解自己的服务器/虚拟主机环境是否有Rewrite支持。</td>
</tr>
<tr>
<th colspan="2"> 标题关键字:</th>
</tr>
<tr>
<td><input class="txt" value="<?=$setting['seo_title']?>" name="seo_title"></td>
<td>关键字将包含在每一个页面的title里面。</td>
</tr>
<tr>
<th colspan="2"> 页面地址后缀:</th>
</tr>
<tr>
<td><input class="txt" value="<?=$setting['seo_suffix']?>" name="seo_suffix"></td>
<td>不建议修改本参数，此参数目的是为了防止服务器全局rewrite开启，影响tipask的访问。</td>
</tr>
<tr>
<th colspan="2"> Meta keywords:</th>
</tr>
<tr>
<td><input class="txt" value="<?=$setting['seo_keywords']?>" name="seo_keywords"></td>
<td>给搜索引擎看的keywords。</td>
</tr>
<tr>
<th colspan="2">  Meta Description:</th>
</tr>
<tr>
<td><input class="txt" value="<?=$setting['seo_description']?>" name="seo_description"></td>
<td>给搜索引擎看的Description。</td>
</tr>
<tr>
<th colspan="2">其它头部信息:</th>
</tr>
<tr>
<td><textarea class="area" name="seo_headers"  style="height:100px;width:300px;"><?=$setting['seo_headers']?></textarea></td>
<td valign="top">可以加入默认加载的js、样式或者其他任何的信息。</td>
</tr>
</table>
<div class="opt"><input class="btn" tabindex="3" type="submit" value=" 提 交 " name="submit"></div>
</form>
</div>
</div>

</body>

</html>
